<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags.tld"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<title>Edit User</title>
	</head>
	<body>
		Edit User
		<BR>
		<s:form action="userUpdate.action" method="post">
			<table border="1">
				<tr>
					<td>
						ID
					</td>
					<td>
						${id }
						<input type="hidden" name="user.id" value="${user.id }">
					</td>
				</tr>
				<tr>
					<td>
						Username
					</td>
					<td>
						<input type="text" name="user.userid" value="${user.userid }">
					</td>
				</tr>
				<tr>
					<td>
						Password
					</td>
					<td>
						<input type="text" name="user.pwd" value="${user.pwd }">
					</td>
				</tr>
				<tr>
					<td>
						<input type="submit" value="Submit">
					</td>
					<td>
						<input type="reset" value="Reset">
					</td>
				</tr>
			</table>
		</s:form>
		<br>
		<a href="userAdd.action">Back, not to edit user </a>
	</body>
</html>
